// 封装搜索页相关接口
import request from '@/utils/request.js'

// 搜索景点/酒店/餐厅数据
export const SearchCategoryService = (data) => {
	return request({
		url: '/search/category',
		method: 'GET',
		params: {
			data
		}
	})
}

// 搜索全部数据
export const SearchAllService = (data) => {
	return request({
		url: '/search/all',
		method: 'GET',
		params: {
			data
		}
	})
}